package com.jiji.mianshiya.constant;

/**
 * Redis 常量
 */
public interface RedisConstant {
    /**
     * 用户签到记录的 Reidis key 前座
     */
    String UESER_SIGN_IN_REDIS_PRIFIX = "user:signins";

    static String getUserSignInRedisKey(int yesar, long userId) {
        return String.format("%s:%s:%S", UESER_SIGN_IN_REDIS_PRIFIX, yesar, userId);
    }
}
